package cn.xenosp.server.module.userRole.mapper;

import cn.xenosp.server.module.userRole.entity.SysUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_user_role(用户和角色关联表)】的数据库操作Mapper
* @createDate 2025-01-01 14:41:27
* @Entity cn.xenosp.server.module.userRole.entity.SysUserRole
*/

public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {

    int selectByUserId(String id);

    int insertBatch(@Param("list") List<SysUserRole> roleMenuList);
}




